class UserApi < ActionWebService::API::Base
		api_method :find_user_by_id,
								:expects => [:int],
								:returns => [User]
		api_method :find_all_user,
								:returns => [[User]]			
		api_method :upd_user_by_id,
		            :expects => [{:id=>:int},{:name=>:string}],
								:returns => [:boolean]		
		api_method :ins_user,
		            :expects => [{:name=>:string},{:email_addr=>:string},{:question=>:string},{:question_answer=>:string},{:password=>:string},{:password_confirmation=>:string}],
								:returns => [:boolean]																					
end
